package com.flyco.modules.pms.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description: 类型
 * @Author: flyco
 * @Date:   2019-11-18
 * @Version: V1.0
 */
@Data
@TableName("pms_product_attribute_category")
public class PmsProductAttributeCategory implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**商品属性分类ID*/
	@TableId(type = IdType.AUTO)
	@JsonSerialize(using= ToStringSerializer.class)
	private Long id;
	/**名称*/
	private String name;
	/**属性数量*/
	private Integer attributeCount;
	/**参数数量*/
	private Integer paramCount;
	/**创建人*/
	private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	/**更新人*/
	private String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
}
